<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The __construct purpose</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.cairosurface.html">CairoSurface</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="cairosurface.copypage.html">CairoSurface::copyPage</a></div>
 <div class="up"><a href="class.cairosurface.html">CairoSurface</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="cairosurface.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">CairoSurface::__construct</h1>
  <p class="verinfo">(PECL cairo &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">CairoSurface::__construct</span> &mdash; <span class="dc-title">The __construct purpose</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-cairosurface.construct-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>CairoSurface::__construct</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   CairoSurface is an abstract type and, as such, should not be instantiated in your PHP scripts.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-cairosurface.construct-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-cairosurface.construct-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   No return value
  </p>
 </div>

 
 <div class="refsect1 notes" id="refsect1-cairosurface.construct-notes">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    If you&#039;re using a PHP version before 5.3, you must destroy the <a href="class.cairocontext.html" class="classname">CairoContext</a>
    associated with a <a href="class.cairosurface.html" class="classname">CairoSurface</a> <em class="emphasis">after</em> you destroy the 
    CairoSurface. Otherwise, you&#039;re left with a Circular-reference memory leak.
   </p>
  </p></blockquote>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-cairosurface.construct-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="cairoimagesurface.construct.html" class="methodname" rel="rdfs-seeAlso">CairoImageSurface::__construct()</a> - Creates a new CairoImageSurface</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.cairosurface.html">CairoSurface</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="cairosurface.copypage.html">CairoSurface::copyPage</a></div>
 <div class="up"><a href="class.cairosurface.html">CairoSurface</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
